﻿<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="__PUBLIC_LIB__/html5.js"></script>
<script type="text/javascript" src="__PUBLIC_LIB__/respond.min.js"></script>
<script type="text/javascript" src="__PUBLIC_LIB__/PIE_IE678.js"></script>
<![endif]-->
<link href="__HUI__/css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="__HUI_ADMIN__/css/H-ui.login.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC_LIB__/Hui-iconfont/iconfont.css?v=1.0.7" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>后台登录</title>
</head>
<body>
<!--<div class="header"><div class="logo"></div></div>-->
<div class="loginWraper">
  <div id="loginform" class="loginBox">
    <form name="login_form" class="form form-horizontal" action="{:U('login')}" method="post">
        <div class="row cl">
            <div class="col-xs-12">
                <div class="title mb-11">{$Think.config.X_SYSTEM_NAME}</div>
            </div>
        </div>
      <div class="row cl">
        <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60d;</i></label>
        <div class="formControls col-xs-8">
          <input id="txtLoginName" name="username" type="text" placeholder="账户" class="input-text size-L">
        </div>
      </div>
      <div class="row cl">
        <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe60e;</i></label>
        <div class="formControls col-xs-8">
          <input id="password" name="password" type="password" placeholder="密码" class="input-text size-L">
        </div>
      </div>
      <div class="row cl">
          <label class="form-label col-xs-3"><i class="Hui-iconfont">&#xe68e;</i></label>
          <div class="formControls col-xs-8" id="captcha-container">
              <input class="input-text size-L mr-10" type="text" name="code" placeholder="验证码"  style="width:170px;" id="texverify">
              <img src="{:U('verifyImg')}"  style="cursor:pointer">
          </div>
      </div>
      <div class="row cl">
        <div class="formControls col-xs-8 col-xs-offset-3">
          <input name="" type="submit" class="btn btn-primary radius size-L" value="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;">
          <input name="" type="reset" class="btn btn-default radius size-L ml-30" value="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;">
        </div>
      </div>
    </form>
  </div>
</div>
<div class="footer">
    Copyright ©2016 xxxx All Rights Reserved.<br>
    <a href="http://www.miitbeian.gov.cn/" target="_blank" rel="nofollow">沪ICP备1000000号</a>
</div>
<script type="text/javascript" src="__PUBLIC_LIB__/jquery/jquery.min.js?v=1.9.1"></script>
<script>
    var captcha_img = $('#captcha-container').find('img');
    var verifyimg = captcha_img.attr("src");
    captcha_img.attr('title', '点击刷新');
    captcha_img.click(function(){
        if( verifyimg.indexOf('?')>0){
            $(this).attr("src", verifyimg+'&random='+Math.random());
        }else{
            $(this).attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());
        }
    });
</script>
</body>
</html>